home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW cawf 4.0.9 / cawf.r < prev    next >
Encoding:
Text File  |  1995-12-01  |  2.5 KB  |  106 lines  |  [TEXT/ttxt]

  1. /*
  2.  *    Copyright (c) 1995 Matthias Neeracher
  3.  *
  4.  *    Permission is granted to anyone to use this software for any
  5.  *    purpose on any computer system, and to alter it and redistribute
  6.  *    it freely, subject to the following restrictions:
  7.  *
  8.  *    1. The author is not responsible for any consequences of use of
  9.  *       this software, even if they arise from flaws in it.
  10.  *
  11.  *    2. The origin of this software must not be misrepresented, either
  12.  *       by explicit claim or by omission.  Credits must appear in the
  13.  *       documentation.
  14.  *
  15.  *    3. Altered versions must be plainly marked as such, and must not
  16.  *       be misrepresented as being the original software.  Credits must
  17.  *       appear in the documentation.
  18.  *
  19.  *    4. This notice may not be removed or altered.
  20.  */
  21.  
  22. #define SystemSevenOrLater 1
  23.  
  24. #include "SysTypes.r"        /* To get system types */
  25. #include "Types.r"            /* To get general types */
  26. #include "Cmdo.r"            /* For commando interface */
  27.  
  28. include "cawf.rsrc";
  29.  
  30. resource 'vers' (1) {
  31.     0x04, 0x09, release, 0x00, verUS,
  32.     "4.0.9",
  33.     "cawf"
  34.     };
  35.  
  36. resource 'vers' (2) {
  37.     0x04, 0x09, release, 0x00, verUS,
  38.     "4.0.9",
  39.     "cawf 4.0.9 (21Nov95)"
  40.     };
  41.  
  42. resource 'cmdo' (128) {
  43.     {
  44.         295,            /* Height of dialog */
  45.         "Cawf -- - C version of the nroff-like, Amazingly Workable (text) Formatter\n"
  46.         "by Vic Abell <abe@vic.cc.purdue.edu>",
  47.         {
  48.             notDependent {}, RadioButtons {
  49.                 {
  50.                     { 80,  20,  95, 220}, "none", "", set, 
  51.                     "Manual pages.",
  52.                     { 97,  20, 112, 220}, "man", "-man", notset, 
  53.                     "Manual pages.",
  54.                     {114,  20, 129, 220}, "me", "-me", notset, 
  55.                     "Technical papers.",
  56.                     {131,  20, 146, 220}, "ms", "-ms", notset, 
  57.                     "Articles, reports, books."
  58.                 }
  59.             },
  60.             notDependent {}, TextBox {
  61.                 gray,
  62.                 { 70,  10, 185, 240},
  63.                 "Macro package"
  64.             },
  65.             notDependent {}, MultiFiles {
  66.                 "Input File(s)…",
  67.                 "Select input files.",
  68.                 { 15, 150, 35, 315},
  69.                 "Input files:",
  70.                 "",
  71.                 MultiInputFiles {
  72.                     {TEXT},
  73.                     FilterTypes,
  74.                     "Only text files",
  75.                     "All files",
  76.                 }
  77.             },
  78.             notDependent {}, Redirection {
  79.                 StandardInput,
  80.                 { 75, 320}
  81.             },
  82.             notDependent {}, Redirection {
  83.                 StandardOutput,
  84.                 {110, 320}
  85.             },
  86.             notDependent {}, Redirection {
  87.                 DiagnosticOutput,
  88.                 {145, 320}
  89.             },
  90.             notDependent {}, TextBox {
  91.                 gray,
  92.                 { 70, 310, 185, 470},
  93.                 "Redirection"
  94.             },
  95.             notDependent {}, VersionDialog {
  96.                 VersionString {
  97.                     "4.0.9"
  98.                 },
  99.                 "Cawf by Vic Abell <abe@vic.cc.purdue.edu>\n"
  100.                 "MPW port by Matthias Neeracher <neeri@iis.ee.ethz.ch>\n",
  101.                 0
  102.             },
  103.         },
  104.     },
  105. };
  106.